function confirmpasswordCheck(){
    let tip = document.getElementById('tip');
    let btn = document.getElementById('comfirm');
    let newpw = document.getElementById('new_password');
    let cnewpw = document.getElementById('confirm_password');
    if(cnewpw.value != ''){
        if(newpw.value != cnewpw.value){
            tip.style.display = 'block';
            btn.classList.add('am-disabled');
        }else{
            btn.classList.remove('am-disabled');
            tip.style.display = 'none';
        }
    }else{
        if(cnewpw.value == ''){
            btn.classList.add('am-disabled');
            return
        }
        if(newpw.value == '' || cnewpw.value == ''){
            tip.style.display = 'none';
            btn.classList.add('am-disabled');
            return
        }
    }
}
